package com.yike.user.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Set;

/**
 * 平台角色菜单
 *
 * @author Sakura
 * @since 2024-10-29
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "角色菜单参数")
public class PlatformRoleMenuParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("角色ID")
    @NotNull(message = "角色ID不能为空")
    private Long roleId;

    @ApiModelProperty("菜单ID")
    private Set<Long> menuIds;

}
